package com.kulian.Signalling.system.service.impl.socket.handler;

import com.kulian.Signalling.system.mode.socket.SignalingMessage;

public interface MessageHandler {
    /**
     * 处理WebSocket消息
     * @param message 消息对象
     * @param username 发送消息的用户名
     */
    void handleMessage(SignalingMessage message, String username);
}
